package com.ruijiang.mapper.VmServiceMapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruijiang.entity.Business;
import com.ruijiang.vo.businessType.BusinessBaseVO;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface BusinessTypeMapper extends BaseMapper<Business> {


    @Select("select * from tb_business")
    List<BusinessBaseVO> getBusinessTypeList();
    @Select("select * from tb_business where id = #{id}")
    BusinessBaseVO getBusinessTypeById(Integer id);
}
